package com.kymatrix.kycarbon.xsmd.server;

import org.dromara.dynamictp.core.spring.EnableDynamicTp;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

/**
 * @author liujie
 * @date 2024-04-12
 */
@EnableWebSecurity
@SpringBootApplication
@EnableAsync
@EnableDynamicTp
@MapperScan({"com.kymatrix.kycarbon.xsmd.common.business.oss.dao",
        "com.kymatrix.kycarbon.xsmd.system.server.dao",
        "com.kymatrix.kycarbon.xsmd.kbpm.server.dao"})
@ComponentScan({"com.kymatrix.kycarbon.xsmd.common", "com.kymatrix.kycarbon.xsmd.server",
        "com.kymatrix.kycarbon.xsmd.kbpm", "com.kymatrix.kycarbon.xsmd.system"})
public class XsmdServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(XsmdServerApplication.class, args);
    }
    
}
